listitemfactory: Sanitize APIs
authorBenjamin Otte <otte@redhat.com>
Sun, 9 Jun 2019 20:50:46 +0000 (22:50 +0200)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 30 May 2020 23:26:45 +0000 (19:26 -0400)
commit10b967ae1f65ec269cde4b5c83b0dd777bf46301
treea8243ebfd941f1ad1c2b897e0f149bc63b8855b8
parent0174bf434573ee7b7e49505f72f26cdb4bd15f3d
listitemfactory: Sanitize APIs

Make sure the APIs follow a predictable path:

setup
  bind
    rebind/update (0-N times)
  unbind
teardown

This is the first step towards providing multiple different factories.
gtk/gtklistitemfactory.c
gtk/gtklistitemfactoryprivate.h
gtk/gtklistitemmanager.c